x86, hvm: Lots of MTRR/PAT emulation cleanup.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 12:36:44 +0000 (13:36 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 12:36:44 +0000 (13:36 +0100)
commita6a82232427382d33293c1594c99f4a43a406776
tree4277578fa6924fede08c293aae35a0062448e064
parent5539f61f5bcfb9c20da2371750320439af330f1c
x86, hvm: Lots of MTRR/PAT emulation cleanup.

 - Move MTRR MSR initialisation into hvmloader.
 - Simplify initialisation logic by overlaying UC on default WB rather
   than vice versa.
 - Clean up hypervisor HVM MTRR/PAE code's interface with rest of
   hypervisor.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
16 files changed:
tools/firmware/hvmloader/Makefile
tools/firmware/hvmloader/acpi/build.c
tools/firmware/hvmloader/cacheattr.c [new file with mode: 0644]
tools/firmware/hvmloader/config.h
tools/firmware/hvmloader/hvmloader.c
tools/firmware/hvmloader/smp.c
xen/arch/x86/cpu/mtrr/main.c
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/mtrr.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/support.h
xen/include/asm-x86/mtrr.h